<%@page contentType="text/html;charset=utf-8" pageEncoding="UTF-8" %>
<%@taglib prefix="h" uri="http://struts.apache.org/tags-html"%>
<%@taglib prefix="b" uri="http://struts.apache.org/tags-bean"%>


<div>

    <h:form action="/login">
        <div style="border: solid black; border-width: 1px; width: 500px; margin-left: auto; margin-right: auto; padding:20px; margin-top:20px; background-color: threedlightshadow;">
            <div style="float: left;">
                <img src="<%= request.getContextPath()%>/icons/login.png" align="top"/>
            </div>
            <div>
                <table border="0">
                <tr>
                    <td><b:message key="login_username"/></td>
                    <td><h:text property="username"/></td>
                </tr>
                <tr>
                    <td><b:message key="login_password"/></td>
                    <td><h:password property="password"/></td>
                </tr>

                <tr>
                    <td></td>
                    <td><span class="error" ><h:errors property="username" /></span></td>
                </tr>

            </table>

            <h:submit><b:message key="login_login"/></h:submit>
            </div>
            
        </div>
    </h:form>
</div>